package ooday04;
/** 鸡 */
public class Chick extends Animal {
    Chick(String name, int age, String color){
        super(name,age,color);
    }

    void eat(){
        System.out.println(getAge()+"岁的"+getColor()+"色的"+getName()+"在吃小米");
    }

    void layEggs(){
        System.out.println(getAge()+"岁的"+getColor()+"色的"+getName()+"在下蛋");
    }
}
